package com.miyang.service;

import com.miyang.dao.UserDao;
import com.miyang.dao.UsersDao;
import com.miyang.entity.UserEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author shijin.huang
 * @date 2019-07-31
 */
@Service
public class UserBatchService {

    @Autowired
    UsersDao usersDao;

    public UserEntity getUser(Long id){
       return usersDao.getUser(id);
    }

}
